##[group]Deploy events,work,integrations,packages
node scripts/deploy.mjs deploy --only "events,work,integrations,packages" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d8c26ee928f72b.sh
Deploying 767f267bec42 (Merge workspace invitations: nobody joins a workspace without saying yes, people are found by username, your own invites can bring someone in, and nobody is left without a workspace (identity 0040))

unit          stage  action  live          migrations  why
------------  -----  ------  ------------  ----------  -----------------------------------------------------------------------
events        core   deploy  58dd85e81fd8  -           6 changed files (services/events/src/inbox.rs)
work          core   deploy  58dd85e81fd8  -           5 changed files (crates/contracts/src/accounts.rs via crates/contracts)
integrations  core   deploy  58dd85e81fd8  -           5 changed files (crates/contracts/src/accounts.rs via crates/contracts)
packages      core   deploy  58dd85e81fd8  -           5 changed files (crates/contracts/src/accounts.rs via crates/contracts)

4 to deploy: core (events, work, integrations, packages)
== core: events, work, integrations, packages
[work]  ⛅️ wrangler 4.146.0
[work] ────────────────────
[work] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[events]  ⛅️ wrangler 4.146.0
[events] ────────────────────
[events] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[events] [custom build] [INFO]: Checking for the Wasm target...
[events] [custom build] 
[work] [custom build] [INFO]: Checking for the Wasm target...
[work] [custom build] 
[events] [custom build] [INFO]: Compiling to Wasm...
[events] [custom build] 
[work] [custom build] [INFO]: Compiling to Wasm...
[work] [custom build] 
[work] [custom build]     Blocking waiting for file lock on package cache
[work] [custom build] 
[events] [custom build]     Blocking waiting for file lock on package cache
[events] [custom build] 
[work] [custom build]     Blocking waiting for file lock on package cache
[work] [custom build] 
[events] [custom build]     Blocking
[events] [custom build]  waiting for file lock on package cache
[events] [custom build] 
[work] [custom build]     Blocking waiting for file lock on package cache
[work] [custom build] 
[events] [custom build]     Blocking waiting for file lock on package cache
[events] [custom build] 
[work] [custom build]     Blocking waiting for file lock on shared package cache
[work] [custom build] 
[work] [custom build]     Blocking waiting for file lock on build directory
[work] [custom build] 
[events] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[events] [custom build] 
[events] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[events] [custom build] 
[events] [custom build]    Compiling g1t-events v0.1.0 (/home/runner/work/repo/services/events)
[events] [custom build] 
[events] [custom build]     Finished `release` profile [optimized] target(s) in 42.26s
[events] [custom build] 
[work] [custom build]    Compiling g1t-rules v0.1.0 (/home/runner/work/repo/crates/rules)
[work] [custom build] 
[events] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[events] [custom build] 
[events] [custom build] [INFO]: :-)Done in 43.32s
[events] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/events/build/.tmp.
[events] [custom build] 
[events] [custom build] 
[events] [custom build]   index.js  27.3kb
[events] [custom build] 
[events] [custom build] ⚡ Done in 8ms
[events] [custom build] 
[events] Total Upload: 1530.13 KiB / gzip: 360.74 KiB
[work] [custom build]    Compiling g1t-work v0.1.0 (/home/runner/work/repo/services/work)
[work] [custom build] 
[events] Worker Startup Time: 3 ms
[events] Your Worker has access to the following bindings:
[events] Binding                                         Resource                  
[events] env.BUS (inherited)                             Queue                     
[events] env.SUBSCRIBER_WORK (inherited)                 Queue                     
[events] env.SUBSCRIBER_RUNNER (inherited)               Queue                     
[events] env.SUBSCRIBER_INTEGRATIONS (inherited)         Queue                     
[events] env.SUBSCRIBER_WEBHOOKS (inherited)             Queue                     
[events] env.SUBSCRIBER_ACTIONS (inherited)              Queue                     
[events] env.SUBSCRIBER_DEPLOYMENTS (inherited)          Queue                     
[events] env.SUBSCRIBER_PROJECTS (inherited)             Queue                     
[events] env.SUBSCRIBER_REPOS (inherited)                Queue                     
[events] env.SUBSCRIBER_BILLING (inherited)              Queue                     
[events] env.SUBSCRIBER_SECURITY (inherited)             Queue                     
[events] env.SUBSCRIBER_CONTEXT (inherited)              Queue                     
[events] env.SUBSCRIBER_SEARCH (inherited)               Queue                     
[events] env.SUBSCRIBER_PACKAGES (inherited)             Queue                     
[events] env.DB (g1t-events)                             D1 Database               
[events] env.BILLING (g1t-billing)                       Worker                    
[events] env.WORK (g1t-work)                             Worker                    
[events] env.REPOS (g1t-repos)                           Worker                    
[events] env.IDENTITY (g1t-identity)                     Worker                    
[events] env.AUDIT_MAX_DAYS ("400")                      Environment Variable      
[events] env.AUDIT_MIN_DAYS ("7")                        Environment Variable      
[events] Uploaded g1t-events (5.77 sec)
[events] Deployed g1t-events triggers (3.92 sec)
[events]   schedule: 41 3 * * *
[events]   Producer for g1t-events
[events]   Producer for g1t-events-work
[events]   Producer for g1t-events-runner
[events]   Producer for g1t-events-integrations
[events]   Producer for g1t-events-webhooks
[events]   Producer for g1t-events-actions
[events]   Producer for g1t-events-deployments
[events]   Producer for g1t-events-projects
[events]   Producer for g1t-events-repos
[events]   Producer for g1t-events-billing
[events]   Producer for g1t-events-security
[events]   Producer for g1t-events-context
[events]   Producer for g1t-events-search
[events]   Producer for g1t-events-packages
[events]   Consumer for g1t-events
[events] Current Version ID: 21ca5305-2c8d-40aa-a6c7-2034c5b88841
[integrations]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[integrations] ───────────────────────────────────────────────
[integrations] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[integrations] [custom build] [INFO]: Checking for the Wasm target...
[integrations] [custom build] 
[integrations] [custom build] [INFO]: Compiling to Wasm...
[integrations] [custom build] 
[integrations] [custom build]     Blocking
[integrations] [custom build]  waiting for file lock on build directory
[integrations] [custom build] 
[work] [custom build]     Finished `release` profile [optimized] target(s) in 1m 11s
[work] [custom build] 
[integrations] [custom build]    Compiling g1t-secrets v0.1.0 (/home/runner/work/repo/crates/secrets)
[integrations] [custom build] 
[integrations] [custom build]    Compiling g1t-integrations v0.1.0 (/home/runner/work/repo/services/integrations)
[integrations] [custom build] 
[work] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[work] [custom build] 
[work] [custom build] [INFO]: :-)Done in 1m 17s
[work] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/work/build/.tmp.
[work] [custom build] 
[work] [custom build] 
[work] [custom build]   index.js  27.2kb
[work] [custom build] 
[work] [custom build] ⚡ Done in 16ms
[work] [custom build] 
[integrations] [custom build]     Finished `release` profile [optimized] target(s) in 24.05s
[integrations] [custom build] 
[work] Total Upload: 6855.42 KiB / gzip: 1692.60 KiB
[integrations] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[integrations] [custom build] 
[integrations] [custom build] [INFO]: :-)Done in 25.25s
[integrations] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/integrations/build/.tmp.
[integrations] [custom build] 
[integrations] [custom build] 
[integrations] [custom build]   index.js  27.2kb
[integrations] [custom build] 
[integrations] [custom build] ⚡ Done in 6ms
[integrations] [custom build] 
[integrations] Total Upload: 1850.17 KiB / gzip: 464.18 KiB
[work] Worker Startup Time: 8 ms
[work] Your Worker has access to the following bindings:
[work] Binding                          Resource         
[work] env.DB (g1t-work)                D1 Database      
[work] env.IDENTITY (g1t-identity)      Worker           
[work] env.REPOS (g1t-repos)            Worker           
[work] env.EVENTS (g1t-events)          Worker           
[work] env.ACTIONS (g1t-actions)        Worker           
[work] Uploaded g1t-work (7.51 sec)
[integrations] Worker Startup Time: 10 ms
[integrations] Your Worker has access to the following bindings:
[integrations] Binding                                                Resource                  
[integrations] env.DB (g1t-integrations)                              D1 Database               
[integrations] env.IDENTITY (g1t-identity)                            Worker                    
[integrations] env.WORK (g1t-work)                                    Worker                    
[integrations] env.RUNNER (g1t-runner)                                Worker                    
[integrations] env.REPOS (g1t-repos)                                  Worker                    
[integrations] env.API_URL ("https://api.g1t.sh")                     Environment Variable      
[integrations] env.SITE_URL ("https://g1t.sh")                        Environment Variable      
[integrations] env.GITHUB_APP_ID ("5203641")                          Environment Variable      
[integrations] env.GITHUB_APP_SLUG ("g1t-sh")                         Environment Variable      
[integrations] env.GITHUB_APP_CLIENT_ID ("Iv23liZS94alfjIUn1eW")      Environment Variable      
[integrations] Uploaded g1t-integrations (5.66 sec)
[work] Deployed g1t-work triggers (4.16 sec)
[work]   Consumer for g1t-events-work
[work] Current Version ID: 84d6adcb-c573-4aa7-a55f-668b8ad653a9
[packages]  ⛅️ wrangler 4.146.0 (update available 4.149.0)
[packages] ───────────────────────────────────────────────
[packages] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[packages] [custom build] [INFO]: Checking for the Wasm target...
[packages] [custom build] 
[packages] [custom build] [INFO]: Compiling to Wasm...
[packages] [custom build] 
[packages] [custom build]    Compiling g1t-blobstore v0.1.0 (/home/runner/work/repo/crates/blobstore)
[packages] [custom build] 
[integrations] Deployed g1t-integrations triggers (4.05 sec)
[integrations]   Consumer for g1t-events-integrations
[integrations] Current Version ID: 0688fa7d-c0bd-42e1-9a0e-fc2197c839f5
[packages] [custom build]    Compiling g1t-packages v0.1.0 (/home/runner/work/repo/services/packages)
[packages] [custom build] 
[packages] [custom build] warning: variant `Bytes` is never constructed
[packages] [custom build]   --> services/packages/src/marshal.rs:26:5
[packages] [custom build]    |
[packages] [custom build] 18 | pub enum Value {
[packages] [custom build]    |          ----- variant in this enum
[packages] [custom build] ...
[packages] [custom build] 26 |     Bytes(Vec<u8>),
[packages] [custom build]    |     ^^^^^
[packages] [custom build]    |
[packages] [custom build]    = note: `Value` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[packages] [custom build]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[packages] [custom build] 
[packages] [custom build] 
[packages] [custom build] warning: `g1t-packages` (lib) generated 1 warning
[packages] [custom build]     Finished `release` profile [optimized] target(s) in 18.84s
[packages] [custom build] 
[packages] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[packages] [custom build] 
[packages] [custom build] [INFO]: :-)Done in 20.96s
[packages] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/services/packages/build/.tmp.
[packages] [custom build] 
[packages] [custom build] 
[packages] [custom build]   index.js  30.4kb
[packages] [custom build] 
[packages] [custom build] ⚡ Done in 7ms
[packages] [custom build] 
[packages] Total Upload: 3175.31 KiB / gzip: 872.18 KiB
[packages] Worker Startup Time: 4 ms
[packages] Your Worker has access to the following bindings:
[packages] Binding                                                            Resource                  
[packages] env.DB (g1t-packages)                                              D1 Database               
[packages] env.BLOBS (g1t-packages)                                           R2 Bucket                 
[packages] env.IDENTITY (g1t-identity)                                        Worker                    
[packages] env.REPOS (g1t-repos)                                              Worker                    
[packages] env.EVENTS (g1t-events)                                            Worker                    
[packages] env.BILLING (g1t-billing)                                          Worker                    
[packages] env.ANONYMOUS_LIMIT (300 requests/60s)                             Rate Limit                
[packages] env.SIGNED_LIMIT (5000 requests/60s)                               Rate Limit                
[packages] env.BLOB_STORE ("r2")                                              Environment Variable      
[packages] env.R2_ACCOUNT_ID ("1e6f2cffa3f445920836e8ebe446bb58")             Environment Variable      
[packages] env.R2_BUCKET ("g1t-packages")                                     Environment Variable      
[packages] env.MAX_REQUEST_BYTES ("100000000")                                Environment Variable      
[packages] env.REGISTRY_HOST ("g1t.sh")                                       Environment Variable      
[packages] env.STORAGE_LIMITS ("on")                                          Environment Variable      
[packages] env.PROTECTED_WORKSPACES ("flagon-io")                             Environment Variable      
[packages] Uploaded g1t-packages (6.30 sec)
[packages] Deployed g1t-packages triggers (3.95 sec)
[packages]   schedule: 37 * * * *
[packages]   Consumer for g1t-events-packages
[packages] Current Version ID: d7f68f86-e429-44d5-81e1-501916debe72

unit          stage  result  version                               time    note
------------  -----  ------  ------------------------------------  ------  ----
events        core   ok      21ca5305-2c8d-40aa-a6c7-2034c5b88841  78.6s
work          core   ok      84d6adcb-c573-4aa7-a55f-668b8ad653a9  115.4s
integrations  core   ok      0688fa7d-c0bd-42e1-9a0e-fc2197c839f5  39.5s
packages      core   ok      d7f68f86-e429-44d5-81e1-501916debe72  35.7s

Deployed in 153.3s.
